package com.dcrzl.shcz.common.entity.sys;

import com.baomidou.mybatisplus.annotation.*;
import com.dcrzl.shcz.common.utils.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @author dcrzl
 * @email 1728795786@qq.com
 * @date 2024-08-28 11:55:09
 */
@Data
@TableName("t_sys_file")
@Accessors(chain = true)
public class SysFile extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 文件路径
     */
    @TableField(value = "path")
    private String path;
    /**
     * 文件名
     */
    @TableField(value = "file_name")
    private String fileName;
    /**
     * 桶、组
     */
    @TableField(value = "bucket")
    private String bucket;
    /**
     * 文件类型
     */
    @TableField(value = "type")
    private String type;
    /**
     *
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;
    /**
     *
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     *
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

}
